package cc.lj.internal.payment.domain.pay.vo.convert;

import cc.lj.internal.payment.domain.pay.vo.PayformListDO;
import cc.lj.internal.payment.infrastructure.po.PayformListPO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 交易组成方式记录表(现金＋电子券)PO 与 DO之间转换
 * @author liangxifeng
 * @date 2022-01-12
 */
@Mapper
public interface PayFormListPOConvertDO {
    PayFormListPOConvertDO INSTANCE = Mappers.getMapper(PayFormListPOConvertDO.class);
    //do to po
    PayformListPO convert(PayformListDO payformListDO);

    //po to do
    PayformListDO convert(PayformListPO payformListPO);
}
